package com.tensquare.consumer.listener;

import org.springframework.amqp.rabbit.annotation.RabbitHandler;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

@Component
@RabbitListener(queues = "hlm")
public class Listener07 {
    @RabbitHandler
    public void getMessage(String message){
        System.out.println("hlm = " + message);
    }
}
